-- GENERATED SPELL FOR [Gravelsnout Kobold] --


function spell0_4111(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4111', 643, 1)
end

function Sorts_4111(pUnit, Event)
local choix_sorts_4111 = math.random(0, 0)
if choix_sorts_4111 == 0 then
pUnit:RegisterEvent('spell0_4111', 1, 1)
end
end

function mob4111_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4111', math.random(1500, 3000), 1)
end

function mob4111_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4111_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4111_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4111, 1, 'mob4111_Action')
RegisterUnitEvent(4111, 2, 'mob4111_Leave')
RegisterUnitEvent(4111, 3, 'mob4111_Kill')
RegisterUnitEvent(4111, 4, 'mob4111_Die')
